package com.yanqu.road.entity.log.daomu;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_activity_daomu_log_collection_upgrade", autoSave = true, dataUpload = true, eventName = "tougold_dzlev", uploadCk = true, desc = "盗墓-藏品等级升级")
public class LogDaoMuCollectionUpgrade extends ServerBaseLog {

    /**
     * 活动ID
     */
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    
    /**
     * 玩家ID
     */
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    
    /**
     * 藏品ID
     */
    @FieldTypeAnnotation(desc = "藏品ID", dataAttribute = "item_id")
    private int collectionId;
    
    /**
     * 升级前等级
     */
    @FieldTypeAnnotation(desc = "升级前等级", dataAttribute = "before_level")
    private int preLevel;
    
    /**
     * 升级前战力
     */
    @FieldTypeAnnotation(desc = "升级前战力", dataAttribute = "before_score")
    private long prePower;
    
    /**
     * 升级前属性MAP
     */
    @FieldTypeAnnotation(desc = "升级前属性MAP")
    private String preAttribute;
    
    /**
     * 升级后等级
     */
    @FieldTypeAnnotation(desc = "升级后等级", dataAttribute = "after_level")
    private int level;
    
    /**
     * 升级后战力
     */
    @FieldTypeAnnotation(desc = "升级后战力", dataAttribute = "after_score")
    private long power;
    
    /**
     * 升级后属性MAP
     */
    private String attribute;

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getUserId() {
        return userId;
    }

    public void setCollectionId(int collectionId) {
        this.collectionId = collectionId;
    }

    public int getCollectionId() {
        return collectionId;
    }

    public void setPreLevel(int preLevel) {
        this.preLevel = preLevel;
    }

    public int getPreLevel() {
        return preLevel;
    }

    public void setPrePower(long prePower) {
        this.prePower = prePower;
    }

    public long getPrePower() {
        return prePower;
    }

    public void setPreAttribute(String preAttribute) {
        this.preAttribute = preAttribute;
    }

    public String getPreAttribute() {
        return preAttribute;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getLevel() {
        return level;
    }

    public void setPower(long power) {
        this.power = power;
    }

    public long getPower() {
        return power;
    }

    public void setAttribute(String attribute) {
        this.attribute = attribute;
    }

    public String getAttribute() {
        return attribute;
    }
}
